#define _CRT_SECURE_NO_WARNINGS 1
#include"priority_queue.h"
void test1()
{
	xu::priority_queue<int> my;
	my.push(1);
	my.push(7);
	my.push(3);
	my.push(4);
	my.push(5);

	while (!my.empty())
	{
		cout << my.top() << " ";
		my.pop();
	}
	cout << endl; 
}

void test2()
{
	xu::priority_queue<int, vector<int>, greater<int>> my;
	my.push(432);
	my.push(88);
	my.push(2);
	my.push(78);
	my.push(5);
	my.push(9);
	while (!my.empty())
	{
		cout << my.top() << " ";
		my.pop();
	}
	cout << endl;
}

int main()
{
	test1();
	test2();
	return 0;
}